# API路由模块初始化文件
# 该文件使Python将routers目录视为一个包(package)
# 包含应用的所有API路由定义

from fastapi import APIRouter
from .kpl_stock import router as kpl_stock_router

router = APIRouter()

# 包含KPL股票数据路由
router.include_router(kpl_stock_router)

@router.get("/items/{item_id}")
async def read_item(item_id: int):
    return {"item_id": item_id}

@router.get("/users/me")
async def read_user_me():
    return {"user_id": 1, "name": "current user"}